package cn.lingyangwl.agile.infra.weixin.mp.model.rqrs;

import cn.lingyangwl.framework.core.model.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import me.chanjar.weixin.common.api.WxConsts;

import javax.validation.constraints.NotNull;

/**
 * 公众号素材
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value="查询公众号素材")
public class MpMaterialPageReq extends BasePageReq {
    @ApiModelProperty(value = "公众号账号的编号", required = true, example = "1024")
    @NotNull(message = "公众号账号的编号不能为空")
    private Long accountId;

    /**
     * @see WxConsts.MediaFileType
     */
    @ApiModelProperty(value = "文件类型 参见 WxConsts.MediaFileType 枚举", example = "image")
    private String type;

}
